package com.chuangjiangx.member.stored.ddd.application.command;

import com.chuangjiangx.member.stored.ddd.domain.model.MbrUniformOrderType;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author cj-ch
 * @date 2018/4/4 下午2:50
 */
@Data
public class MbrUniformOrdersCommand {
    private MbrUniformOrderType type;
    /**
     * 卡券码
     * {@link MbrUniformOrderType#COUPON} 时有值
     */
    private String couponCode;

    /**
     * 储值规则Id ,如果为-1表示是自定义储值
     * {@link MbrUniformOrderType#RECHARGE} 时有值
     */
    private Long rechargeRuleId;
    private Long rechargeMemberId;

    /**
     * 消费会员Id
     * {@link MbrUniformOrderType#NORMAL} 时有值
     */
    private Long consumerMemberId;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 商户Id
     */
    private Long merchantId;

    private Long merchantUserId;

    private Long storeId;
    private Long storeUserId;
}
